package com.ruoyi.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训教室对象 tra_classroom
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class TraClassroom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 培训教室名称 */
    @Excel(name = "培训教室名称")
    private String name;

    /** 最大座位数 */
    @Excel(name = "最大座位数")
    private Long maxSeat;

    /** 培训期号 */
    @Excel(name = "培训期号")
    private String hourId;

    /** 培训时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMaxSeat(Long maxSeat) 
    {
        this.maxSeat = maxSeat;
    }

    public Long getMaxSeat() 
    {
        return maxSeat;
    }
    public void setHourId(String hourId) 
    {
        this.hourId = hourId;
    }

    public String getHourId() 
    {
        return hourId;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("maxSeat", getMaxSeat())
            .append("hourId", getHourId())
            .append("time", getTime())
            .toString();
    }
}
